public class Main {
    public  static  void main(String[] args) {
        //TIP 当文本光标位于高亮显示的文本处时按 <shortcut actionId="ShowIntentionActions"/>
        // 查看 IntelliJ IDEA 建议如何修正。
        LoanCalculator loanCalculator = new LoanCalculator(100,360,0.049);
        loanCalculator.calculateAvgInterest();
        loanCalculator.calculateAvgCap();
    }
}